package com.slaffka;

import org.hibernate.dialect.PostgreSQLDialect;
import org.hibernate.dialect.function.SQLFunctionTemplate;
import org.hibernate.type.StandardBasicTypes;

/**
 * Created with IntelliJ IDEA.
 * User: slaffka
 * Date: 25.11.12
 * Time: 23:42
 * To change this template use File | Settings | File Templates.
 */
public class PostgreSQLDialectEx extends PostgreSQLDialect {

    public PostgreSQLDialectEx(){
        super();
        //registerFunction( "substring", new SQLFunctionTemplate( StandardBasicTypes.STRING, "substring(?1, ?2, ?3)" ) );
        //egisterFunction("nvl", new SQLFunctionTemplate());
    }
}
